<?php
/**
 * Created by PhpStorm.
 * User: sunshubo
 * Date: 2017/9/13
 * Time: 17:37
 */


//header("Content-type: application/json");
//$var = '{"name":["123","234"]}';
//var_dump(json_encode($var));
//echo json_encode($var);

var_dump($_GET);
var_dump($_POST);

$action = $_GET['action'];

switch ($action) {
    case 'add':

        break;
}

